#! /bin/sh /usr/share/dpatch/dpatch-run
## 01_Makefile.dpatch by  <rubiojr@biondofu.net>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
--- ecp-0.1.5beta.orig/Makefile 2006-07-10 00:55:57.000000000 +0200
+++ ecp-0.1.5beta/Makefile      2006-10-01 22:39:48.000000000 +0200
@@ -25,6 +25,5 @@
 	-rm *.o ecp
 
 install:
-	./ecp ecp /usr/local/bin
-	gzip doc/ecp.1
-	install -m 755 doc/ecp.1.gz /usr/local/share/man/man1
+	install -D -T ecp $(DESTDIR)/usr/bin/ecp
+	install -D -T -m 755 doc/ecp.1.gz $(DESTDIR)/usr/share/man/man1/ecp.1.gz
